﻿using System;
using System.Configuration;

using SBPweb.Communication.Shared.Library.Profiles;

namespace SBPweb.Communication.Client.Library.Xmpp.Profiles
{

    public partial class ProfileManagerConfigurationElement : ConfigurationElement, IProfileManagerConfiguration
    {

        #region Property accessors

        [ConfigurationProperty("getProfileWhenConnected", IsRequired = false, DefaultValue = true)]
        public bool GetProfileWhenConnected
        {
            get
            {
                return Convert.ToBoolean(this["getProfileWhenConnected"]);
            }
        }

        #endregion

    }

}